﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Business;
using Data;


namespace Facade
{
    public class Facade
    {
        private UserController _UserController;
        private TableController _TableController;
        private RowController _RowController;
        private ColumnController _ColumnController;

        public Facade()
        {
            _UserController = new UserController();
            _TableController = new TableController();
            _RowController = new RowController();
            _ColumnController = new ColumnController();
        }

        #region User
        public List<User> GetUser(User user)
        {
            return _UserController.GetUser(user);

        }
        #endregion

        #region Table
        public List<Table> GetTable(Table table)
        {
            return _TableController.GetTable(table);

        }
        #endregion

        #region Row
        public List<Row> GetRow(Row row)
        {
            return _RowController.GetRow(row);

        }
        #endregion

        #region Column
        public List<Column> GetColumn(Column column)
        {
            return _ColumnController.GetColumn(column);

        }
        #endregion


    }
}
